﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<ThietBiSo.LinQDB.XayDung>" %>
<%@ Import Namespace="ThietBiSo.LinQDB" %>
<%@ Import Namespace="ThietBiSo.UrlReview" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
  <%:ViewData["title"] %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

  <%
        SEOUrl s = new SEOUrl();
       
    %>
    <div class="ptvbotron_ct">
        <div class="ptvhead_title">
            <h1 style="text-transform:uppercase;">
             
                <%:ViewData["title"]%></h1>
        </div>
        <% foreach (XayDung item in (List<XayDung>)ViewData["xaydungs"])
           {%>
        <div class="ptvproducs" style="height: 200px;">
            <div class="ptvhinhsp">
                <div class="ptvhinhimg">
                    <a href="<%:Url.Action("chitiet", "xd",new{id=item.MaXayDung+"_"+s.GenerateURL(item.TieuDe)})%>"
                        data-tooltip="ptvsticky<%:item.MaXayDung %>" title="<%:item.TieuDe %>">
                        <%if (item.HinhAnh == "" || item.HinhAnh == null || item.HinhAnh == "noImage")
                          {%>
                        <img src="<%:Url.Content("~/Content/images/nophoto.gif")%>" alt="" width="140px"
                            height="120" />
                        <%}
                          else
                          { %>
                        <img class="ptvsp" src="<%: item.HinhAnh%>" width="140" height="120" title="<%:item.TieuDe %>"
                            alt="<%:item.TieuDe %>" />
                        <%} %>
                    </a>
                </div>
               
            </div>
            <div class="ptvtensp">
                <a href="<%:Url.Action("chitiet", "xd",new{id=item.MaXayDung+"_"+s.GenerateURL(item.TieuDe)})%>">
                    <%:item.TieuDe%></a>
                </div>
           
        </div>
        <%} %>
        <div class="ptvclear">
        </div>
    </div>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="keywords" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
